package com.x.mvp.base.exlist;


import com.x.mvp.base.presenter.ActivityPresenter;

public abstract class PullToRefreshActivityPresenter<V extends PullToRefreshListViewAcivityView>
        extends ActivityPresenter<V> {

    protected boolean hasMoreData = true;

    public boolean hasMoreData() {
        return hasMoreData;
    }

    public abstract void loadData();

    public void reloadData() {
        loadData();
    }

    public abstract void loadMore(int totalItemCount);
}